package com.maybach.core.form.product;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by pyshift on 16/3/16.
 */
public class ModuleForm implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     * This field corresponds to the database column b2b_import_module.id
     */
    private Long id;

    /**
     * 卖家ID
     * This field corresponds to the database column b2b_import_module.partner_id
     */
    @NotNull(message = "卖家Id不能为空")
    private Long partnerId;

    /**
     * 手机号
     * This field corresponds to the database column b2b_import_module.mobile
     */
    @NotBlank(message = "卖家电话不能为空")
    private String mobile;

    /**
     * 公司名称
     * This field corresponds to the database column b2b_import_module.company_name
     */
    @NotBlank(message = "卖家公司名称不能为空")
    private String companyName;

    /**
     * 特征值
     * This field corresponds to the database column b2b_import_module.feature
     */
    @NotBlank(message = "特征值不能为空")
    private String feature;

    /**
     * 车规
     */
    private String standard;

    /**
     * 现车 期车
     */
    private String type;

    /**
     * 车型
     */
    @NotBlank(message = "车型不能为空")
    private String model;

    /**
     * 外观
     */
    @NotBlank(message = "外观不能为空")
    private String facade;

    /**
     * 内饰
     */
    private String trim;

    /**
     * 价格
     */
    @NotBlank(message = "价格不能为空")
    private String price;

    /**
     * 配置
     */
    @NotBlank(message = "配置不能为空")
    private String configure;

    /**
     * 备注
     */
    private String remark;

    /**
     * 库存
     */
    private String quantity;

    /**
     * 车架号
     */
    private String frameNo;

    /**
     * 燃油
     */
    private String fuel;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(Long partnerId) {
        this.partnerId = partnerId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getFacade() {
        return facade;
    }

    public void setFacade(String facade) {
        this.facade = facade;
    }

    public String getTrim() {
        return trim;
    }

    public void setTrim(String trim) {
        this.trim = trim;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getConfigure() {
        return configure;
    }

    public void setConfigure(String configure) {
        this.configure = configure;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getFrameNo() {
        return frameNo;
    }

    public void setFrameNo(String frameNo) {
        this.frameNo = frameNo;
    }

    public String getFuel() {
        return fuel;
    }

    public void setFuel(String fuel) {
        this.fuel = fuel;
    }
}
